﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Test2Panel : UIBase
{

    void Awake()
    {
        Bind(AudioEvent.PLAY_AUDIO);
    }

    public override void Execute(int eventCode, object message)
    {
        switch (eventCode)
        {
            case 0:
                Debug.Log("我是Test2面板，音乐响起来了，我好激动，忍不住打了一个Log信息");
                break;
            default:
                break;
        }
    }

}
